/*
    @author:sa
    @date:2024/11/8 10:55
*/
public class swith {
    public static void main(String[] args) {
        int a = 5;
        switch (a) {
            case 1, 3, 5, 7, 8, 10, 12:
                System.out.println(31);
                break;
            case 4, 6, 9, 11:
                System.out.println(30);
                break;
            default:
                System.out.println(28);
        }
    }
}